
package controller.helper;

import modelo.bo.cmd.*;
import modelo.bo.cmd.login.*;

public class LoginControllerHelper implements IControllerHelper {

	@Override
	public ICommand getICommand(EICommand command) {
		ICommand cmd = null;
		
		switch (command) {
			case LOGAR_USUARIO:
				cmd = new LogarUsuario();
			break;
			case CADASTRAR:
				cmd = new CadastrarLogin();
			break;
			case LOGOFF_USUARIO:
				cmd = new LogoffUsuario();
			break;
			case LEMBRAR_LOGIN:
				cmd = new LembrarLogin();
			break;
			case ATUALIZAR:
				cmd = new AtualizarLogin();
			break;		
		}
		
		return cmd;
	}

}
